package com.example.chat.mapper;

import com.example.chat.pojo.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface GoodsMapper {

    @Select("SELECT * FROM goods")
    List<Goods> getAllGoods();
}
